form(
	method='post',
	action='/users/',
	enctype='application/x-www-form-urlencoded')
	table
		tr
			td.neutral(colspan='2')
				h3 User Profile
				input(type='submit',value='Save')
				input(type='hidden',name='action',value='update')
				input(type='hidden',name='id',value=profile._id)
		tr
			td.neutral.editLabel First Name
			td.neutral
				input(type='text',name='firstName',value=profile.firstName)
		tr
			td.neutral.editLabel Last Name
			td.neutral
				input(type='text',name='lastName',value=profile.lastName)
		tr
			td.neutral.editLabel Email Address
			td.neutral
				input(type='text',name='email',value=profile.email)
		if(/Administrator/i.test(user.type))
			tr
			td.neutral.editLabel Account Type
			td.neutral
				select(name='type')
					option(value='Administrator', selected= /Administrator/i.test(profile.type)) Administrator
					option(value='Member', selected= /Member/i.test(profile.type)) Member
					option(value='Rushee', selected= /Rushee/i.test(profile.type)) Rushee
